package cn.vehicle.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum StatusCode {

    SUCCESS("000000", "成功"),
    DATE_EXIST("100001", "数据已存在"),
    PARAMS_ERROR("100002", "参数异常"),
    DATE_NOT_EXIST("100003", "数据不存在"),
    PASSWORD_ERROR("100004", "密码错误"),
    DELETE_ERROR("100011", "删除异常"),
    LOGIN_ERROR("100012", "删除失败"),
    NET_ERROR("100013", "远程请求失败"),
    IMPL_NOT_EXIST("100014", "实现类不存在"),
    LEDGER_ERROR("100015", "台账记录异常"),
    SYSTEM_ERROR("999999", "系统异常");

    private final String code;
    private final String message;
}
